<!--
 * @Descripttion: 
 * @version: 1.0.0
 * @Author: guoxiaomin
 * @Email: 1093556028@qq.com
 * @Date: 2019-08-20 10:38:02
 * @LastEditors: guoxiaomin
 * @LastEditTime: 2019-08-21 11:39:54
 -->
<style lang="less" scoped>
.aboutBox{
  .topInfo{
    width: 100%;
    height: 8.99rem;
    background: url('../../assets/web/bannerabout@2x.png') no-repeat;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    padding-top: 2.11rem;
    box-sizing: border-box;
    .leftBox{
      width: 6.08rem;
      height: 5.04rem;
      background:rgba(253,55,26,1);
      padding: 0.25rem 0.29rem 0 0.29rem;
      color: #ffffff;
      .title{
        font-size: 0.6rem;
        font-weight: bold;
      }
      .intro{
        font-size: 0.18rem;
        font-weight:400;
        line-height: 0.3rem;
        margin-top: 0.38rem;
      }
      .contactBox{
        width:3.03rem;
        height:0.84rem;
        background:rgba(51,51,51,0);
        border:1px solid rgba(255,255,255,1);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 0.24rem;
        margin-top: 0.56rem;
        .eye{
          width: 0.26rem;
          height:0.26rem;
        }
        .phone{
          margin-left: 0.06rem;
        }
      }
    }
    .rightBox{
      color: #ffffff;
      margin-left: 1.37rem;
      padding-top: 0.48rem;
      .txt1{
        font-size: 2.16rem;
      }
      .txt2{
        font-size: 1.08rem;
        margin-top: 0.2rem;
      }
      .bottomLine{
        margin-top: 0.22rem;
        font-size: 0.24rem;
        text-align: center;
      }
    }
  }
  .ideaBox{
    width: 100%;
    height: 8.97rem;
    background: url('../../assets/web/backgroundGs@2x.png') no-repeat;
    background-size: 100% 100%;
    padding-top: 1.58rem;
    box-sizing: border-box;
    .ct{
      margin-left: 10.56rem;
      color: #ffffff;
      .line{
        background: #FA4112;
        width: 0.52rem;
        height: 0.08rem;
      }
      .title{
        color: #ffffff;
        margin-top: 0.5rem;
        .txt{
          font-size: 0.6rem;
          font-weight: bold;
        }
        .red{
          display: inline-block;
          width: 0.21rem;
          height: 0.21rem;
          border-radius: 50%;
        }
      }
      .into{
        width: 5.01rem;
        font-size: 0.18rem;
        line-height: 0.3rem;
        margin-top: 0.61rem;
      }
      .btn{
        width:2.05rem;
        height:0.62rem;
        border:1px solid rgba(255,255,255,1);
        text-align: center;
        line-height: 0.62rem;
        font-size: 0.24rem;
        font-weight: bold;
        margin-top: 0.66rem;
      }
    }

  }
  .advantage{
    width: 100%;
    height: 5.84rem;
    background: url('../../assets/web/backgroundAd@2x.png') no-repeat;
    background-size: 100% 100%;
  }
  .mapBox{
    height: 7.34rem;
    display: flex;
    padding-right: 1.97rem;
    padding-bottom: 0.74rem;
    .leftBox{
      height: 100%;
      color: #ffffff;
      .inner{
        background: #1F1F1F;
        margin-left: 1.95rem;
        height: 100%;
        padding-left: 0.93rem;
        box-sizing: border-box;
        padding-top: 1.63rem;
        padding-right: 1.2rem;
        .map{
          font-weight: bold;
          font-size: 0.4rem;
        }
        .line{
          width:0.36rem;
          height:0.04rem;
          background:rgba(250,65,18,1);
          margin-top: 0.23rem;
        }
        .address{
          margin-top: 0.48rem;
          .addressLine{
            display: flex;
            align-items: center;
            .icon{
              width: 0.2rem;
              height: 0.24rem;
            }
            .txt{
              margin-left: 0.18rem;
            }
            .icon2{
              width: 0.26rem;
              height: 0.21rem;
            }
          }
          .addressLine2{
            margin-top: 0.42rem;
          }
        }
        .contactBtn{
          margin-top: 1.17rem;
          width:2.03rem;
          height:0.58rem;
          border:1px solid rgba(255,255,255,1);
          line-height: 0.58rem;
          text-align: center;
          font-size: 0.14rem;
        }
      }
    }
    .maprightBox{
      height: 100%;
      flex-grow: 1;
    }
  }
}
</style>
<template>
  <div class="aboutBox">
    <div class="topInfo">
      <div class="leftBox">
        <div class="line"></div>
        <p class="title">公司介绍</p>
        <p class="intro">鼎晟恒基（北京）金融服务外包有限公司是一家集助贷、个人汽车抵押贷款、房地产经纪咨询、由存量商品房买卖衍生的房产过户垫资解压、房产抵押贷款到期"过桥"垫资等业务，提供专业咨询和解决方案的金融服务公司。本公司秉承"鼎力协作，晟世前行，恒久发展，基业长青"的企业文化与创业精神，聚集了一批从业多年的中、高层管理者和资深业务骨干，专注于用互联网思维解决行业发展疼点，引导行业未来发展方向，致力于搭建一个开放式金融信息发布与金融撮合服务平台。</p>
        <div class="contactBox">
          <img src="../../assets/web/eye.png" alt="" class="eye">
          <p class="phone">010-87506918</p>
        </div>
      </div>
      <div class="rightBox">
        <p class="txt1">贷款</p>
        <p class="txt2">就找鼎晟</p>
        <p class="bottomLine">— 让您远离资金周转困局 —</p>
      </div>
    </div>
    <div class="ideaBox">
      <div class="ct">
        <div class="line"></div>
        <p class="title">
          <span class="txt">公司理念</span>
          <span class="red"></span>
        </p>
        <p class="into">秉承“鼎力协作、晟世前行、恒久发展、基业长青”的企业文化与创业精神</p>
        <p class="btn pointer" @click='contactClicked'>联系我们</p>
      </div>
    </div>
    <div class="advantage">
    </div>
    <div class="mapBox">
      <div class="leftBox">
        <div class="inner">
          <p class="map">Map</p>
          <div class="line"></div>
          <div class="address">
            <div class="addressLine">
              <img src="../../assets/web/iconDt@2x.png" alt="" class="icon">
              <p class="txt">北京市丰台区城南大道1座1509室</p>
            </div>
            <div class="addressLine addressLine2">
              <img src="../../assets/web/iconEj@2x.png" alt="" class="icon2">
              <p class="txt">010-87506918</p>
            </div>
          </div>
          <p class="contactBtn pointer" @click='contactClicked'>联系我们</p>
        </div>
      </div>
      <div class="maprightBox" id="maprightBox"></div>
    </div>
     <AskMoney :isShow="isShowAskMoney" @closeAsk='closeAsk'></AskMoney>
  </div>
</template>
<script>
import AskMoney from '../../components/askMoneyBox'
export default {
  name: 'About',
  mounted() {
    var map = new BMap.Map("maprightBox");          // 创建地图实例  
    var point = new BMap.Point(116.3759370000, 39.8387670000);  // 创建点坐标  
    map.centerAndZoom(point, 25);
    var marker = new BMap.Marker(point);        // 创建标注    
    map.addOverlay(marker);
    map.enableScrollWheelZoom(true);
  },
  components: {
    AskMoney
  },
  data() {
    return {
      isShowAskMoney: false
    }
  },
  methods: {
    contactClicked() {
      this.isShowAskMoney = true
    },
    closeAsk() {
      this.isShowAskMoney = false
    }
  }
}
</script>